package com.cuit.spring.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author nanxi
 * @since 2023-10-16
 */
@Data
@TableName("sys_role")
@ApiModel(value = "Role对象",description = "")
public class Role implements Serializable {

    private static final long serialVersionUID = 1L;

      /**
     * id
     */
      @ApiModelProperty("id")
      @TableId(value = "id",type = IdType.AUTO)
        private Integer id;

      /**
     * 名称
     */
      @ApiModelProperty("名称")
      private String name;

      /**
     * 描述
     */
      @ApiModelProperty("描述")
      private String description;


      @ApiModelProperty("唯一标识")
      private String flag;
}
